{php: $rs = SQL("select basicpath from @db_category where category_id = '$_id'");} {if $rs['basicpath']} {$rs['basicpath']}[cid]/ {else} {php: $arr = explode(',', SYS_INSTALL_LNGS);} {if count($arr) > 1} {if $_lib == 'forum' || $_lib == 'group'} {WEB}/web/[cid]/ {else} {WEB}/[lang]/[cid]/ {/if} {else} {WEB}/web/[cid]/ {/if} {/if}